package com.vehicle.mapper;

import com.vehicle.bean.ParkingLot;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.models.auth.In;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 校园车辆管理系统
 * @since 2023-04-21
 */
@Component
public interface ParkingLotMapper extends BaseMapper<ParkingLot> {

    List<Integer> getParkingId(Integer areaId);

    boolean updateState(Integer parkingId,Integer state);

}
